/** **/
package com.zte.claa.inficombo.csa.app.dao.mysql.impl;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.zte.claa.inficombo.csa.app.model.dev.ResIndexDataModel;

@Repository
public interface ResIndexDataModelMapper {
    /**
     *
     *  2018-03-28
     */
    int deleteByPrimaryKey(@Param("typeid") String typeid, @Param("subtype") String subtype, @Param("fieldname") String fieldname);

    /**
     *
     *  2018-03-28
     */
    int insert(ResIndexDataModel record);

    /**
     *
     *  2018-03-28
     */
    ResIndexDataModel selectByPrimaryKey(@Param("typeid") String typeid, @Param("subtype") String subtype, @Param("fieldname") String fieldname);

    /**
     *
     *  2018-03-28
     */
    List<ResIndexDataModel> selectAll();

    /**
     *
     *  2018-03-28
     */
    int updateByPrimaryKey(ResIndexDataModel record);
    
    /**
     *  根据条件查询
     *  2018-03-28
     */
    List<ResIndexDataModel> selectByCondition(ResIndexDataModel record);
}
